Guild Wars Forums - GW Guru
 
 

Go Back   Guild Wars Forums - GW Guru > The Inner Circle > Sardelac Sanitarium

Notices

Reply
 
Thread Tools Display Modes
Old Aug 10, 2009, 12:31 AM // 00:31   #1
Wilds Pathfinder
 
Join Date: Jul 2008
Location: netherlands
Profession: Mo/E
Advertisement

Disable Ads
Default an skill icon database

i am making a program where GWbbcode goes in and BBcode goes out.
like this

the skill link is easy
http://wiki.guildwars.com/wiki/enter skill name here
but for skill icons that wont work :s
if you change wiki.guildwars.com/images/8/8a/Deadly_Paradox.jpg to wiki.guildwars.com/images/8/8a/shadow_form.jpg you get an nice 404 error.
so is there a database or so wich hosts all skills with an easy to use format, so by just changing the skill name in the url you get the good link?
riktw is offline   Reply With Quote
Old Aug 10, 2009, 12:47 AM // 00:47   #2
Forge Runner
 
Join Date: Jan 2007
Default

Quote:
Originally Posted by riktw View Post
i am making a program where GWbbcode goes in and BBcode goes out.
like this

the skill link is easy
http://wiki.guildwars.com/wiki/enter skill name here
but for skill icons that wont work :s
if you change wiki.guildwars.com/images/8/8a/Deadly_Paradox.jpg to wiki.guildwars.com/images/8/8a/shadow_form.jpg you get an nice 404 error.
so is there a database or so wich hosts all skills with an easy to use format, so by just changing the skill name in the url you get the good link?
Heres why it gets a 404 Error.

images/8/8a/Deadly_Paradox.jpg
images/e/e4/Shadow_Form.jpg

Difference in their directories.

And not too sure where there would be a good database. Did you try PvX wiki? Also keep in mind.. if you are making a program that always takes data from a website to build it in the program:

A.) If the website goes down your program becomes useless for the time being
B.) If they change the icon directories... your program will probably stop being able to build the icons when you request a skill until you fix them.

Last edited by Bob Slydell; Aug 10, 2009 at 12:49 AM // 00:49..
Bob Slydell is offline   Reply With Quote
Old Aug 10, 2009, 12:49 AM // 00:49   #3
Wilds Pathfinder
 
Join Date: Jul 2008
Location: netherlands
Profession: Mo/E
Default

Quote:
Originally Posted by Chrisworld View Post
Heres why it gets a 404 Error.

images/8/8a/Deadly_Paradox.jpg
images/e/e4/Shadow_Form.jpg

Difference in their directories.

And not too sure where there would be a good database. Did you try PvX wiki?
i know, its very annoyng
pvxwiki is not much better
http://images.wikia.com/pvx/img_skills/1767.jpg
a number per skill, and i dont want to list all skills + good link or number in my program :s
riktw is offline   Reply With Quote
Old Aug 10, 2009, 01:18 PM // 13:18   #4
EXCESSIVE FLUTTERCUSSING
 
Kattar's Avatar
 
Join Date: Mar 2007
Guild: SMS (lolgw2placeholder)
Profession: Me/
Default

What's the suggestion here?
__________________
All seems lost now, but still we must fight on.
Kattar is offline   Reply With Quote
Reply

Share This Forum!  
 
 
           

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:25 AM // 09:25.


Powered by: vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
jQuery(document).ready(checkAds()); function checkAds(){if (document.getElementById('adsense')!=undefined){document.write("_gaq.push(['_trackEvent', 'Adblock', 'Unblocked', 'false',,true]);");}else{document.write("